<template>
    <div>
        <el-dialog title="修改" visible width="35%" center
                   :before-close="handleClose"  :close-on-click-modal="false"
                   :close-on-press-escape="false"
                   >
        </el-dialog>
    </div>
</template>

<script>
    export default {
        name: 'TmpEdit',
        data() {
            return {
                loading: {
                    submit: false
                }
            };
        },
        props: {
            curData: {
                type: Object,
                default: {}
            }
        },
        methods: {
            handleClose(done) {
                this.$parent.$parent.dialog.visible.edit = false;
            },
            handleSubmit() {
                this.doSubmit();
            },
            handleCancel() {
                this.handleClose();
            }
        }
    };
</script>
<style scoped lang="less">
</style>